package com.feicheng.iou.mapper;

import com.feicheng.iou.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.iou.pojo.login.AddRolePOJO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * @Author wuweinan
     * @Description //添加角色及其权限
     * @Date 2021/7/28 11:41
     * @Param addRolePOJO 封装角色和其要添加的权限ID集合
     * @return Integer
     */
    Integer insertRole(AddRolePOJO addRolePOJO);


}
